package com.zhang.member.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhang.common.util.result.R;
import com.zhang.member.dto.UserSearchDTO;
import com.zhang.member.entity.MemberUser;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 前台会员用户表 服务类
 * </p>
 *
 * @author 创世神
 * @since 2023-10-31
 */
public interface IMemberUserService extends IService<MemberUser> {

    R enroll(MemberUser user);

    R login(MemberUser user, HttpServletRequest httpServletRequest);

    R getMyInfo();

    IPage<MemberUser> getMembers(UserSearchDTO userSearchDTO);
}
